home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / COMPHELP / BATCHTUT.LZH / TESTSET.BAT < prev    next >
DOS Batch File  |  1983-08-25  |  453b  |  22 lines

  1. echo off
  2. .                       testset.bat  %1        revised 14-aug-83
  3. setdisk %1
  4. if errorlevel 5 goto notfound
  5. if errorlevel 3 goto disk3
  6. if errorlevel 2 goto disk2
  7. if errorlevel 1 goto disk1
  8. echo    found  %1  on drive A:
  9. goto exit
  10. :disk1
  11. echo    found  %1  on drive B:
  12. goto exit
  13. :disk2
  14. echo    found  %1  on drive C:
  15. goto exit
  16. :disk3
  17. echo    found  %1  on drive D:
  18. goto exit
  19. :notfound
  20. echo    setdisk did not find file
  21. :exit
  22.